package com.wxzz.elearing.comment.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wxzz.elearning.common.bean.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class StudyAnswersVo extends BaseEntity {

    @ApiModelProperty(value = "文章Id")
    private Long articleId;

    @ApiModelProperty(value = "文章内容")
    private String publishContent;

    @ApiModelProperty(value = "评论内容")
    private String commentContent;

    @ApiModelProperty(value = "图片数量")
    private Integer urlListSize;

    @ApiModelProperty(value = "图片地址 数组")
    @TableField(exist = false)
    private List<String> publishImageUrlList;

    @ApiModelProperty(value = "是否已被采纳  0-否 1-是")
    private Integer isAccept;

    @ApiModelProperty(value = "评论时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
